package com.ctgu.redislock03;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

// 暴露代理对象，默认不暴露
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
@SpringBootApplication
@MapperScan("com.ctgu.redislock03.mapper")
public class Redislock03Application {

    public static void main(String[] args) {
        SpringApplication.run(Redislock03Application.class, args);
    }

}
